<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%
    String path=request.getProtocol()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath();
%>
<html>
<head>
    <title>新增APP基础信息</title>
    <%=path%>
    <!-- Bootstrap -->
    <link href="/statics/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awe/some -->
    <link href="/statics/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/statics/css/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="/statics/css/green.css" rel="stylesheet">
    <!-- Datatables -->
    <link href="/statics/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="/statics/datatables.net-buttons-bs/css/buttons.bootstrap.min.css" rel="stylesheet">
    <link href="/statics/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css" rel="stylesheet">
    <link href="/statics/datatables.net-responsive-bs/css/responsive.bootstrap.min.css" rel="stylesheet">
    <link href="/statics/datatables.net-scroller-bs/css/scroller.bootstrap.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="/statics/css/custom.min.css" rel="stylesheet">
</head>
<body>
<form id="demo-form2"  data-parsley-validate="" class="form-horizontal form-label-left" novalidate="" name="appInfo" action="/bu/addSave" enctype="multipart/form-data">

    <div class="form-group">
        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">软件名称*<span class="required">*</span>
        </label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="softwarename"  class="form-control col-md-7 col-xs-12" type="text" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">APK名称*<span class="required">*</span>
        </label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="apkname" required="required" class="form-control col-md-7 col-xs-12" type="text"  />
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">支持ROM</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="supportrom" class="form-control col-md-7 col-xs-12"  type="text"  />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-3 col-sm-3 col-xs-12">界面语言*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="interfacelanguage" required="required" class="form-control col-md-7 col-xs-12" type="text" />
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">软件大小*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="softwaresize" class="form-control col-md-7 col-xs-12" type="text" />
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">下载次数*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:input path="downloads" class="form-control col-md-7 col-xs-12" type="text"/>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">所属平台*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:select path="flatformId">
                <option value="">--请选择--</option>
                <option value="1">手机</option>
                <option value="2">平板</option>
            </fm:select>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">一级分类*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:select path="categorylevel1">
                <option value="">--请选择--</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">二级分类*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:select path="categorylevel2">
                <option value="">--请选择--</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">三级分类*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <fm:select path="categorylevel3">
                <option value="">--请选择--</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">APP状态*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
           <fm:select path="stastus">
               <option value="">--请选择--</option>
               <option value="1">待审核</option>
               <option value="2">审核通过</option>
               <option value="3">审核未通过</option>
               <option value="4">已上架</option>
               <option value="5">已下架</option>

           </select>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">应用简介*</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
               <fm:textarea path="appinfo"/>
        </div>
    </div>
    <div class="form-group">
        <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">LOGO图片</label>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <input type="file" name="logpicpath"/>
        </div>
    </div>
    <div class="form-group">
        <input type="submit" value="提交"/>
    </div>
    <!-- jQuery -->
    <script src="/statics/js/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="/statics/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="/statics/js/fastclick.js"></script>
    <!-- NProgress -->
    <script src="/statics/js/nprogress.js"></script>
    <!-- iCheck -->
    <script src="/statics/js/icheck.min.js"></script>
    <!-- Datatables -->
    <script src="/statics/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="/statics/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="/statics/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
    <script src="/statics/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
    <script src="/statics/datatables.net-buttons/js/buttons.flash.min.js"></script>
    <script src="/statics/datatables.net-buttons/js/buttons.html5.min.js"></script>
    <script src="/statics/datatables.net-buttons/js/buttons.print.min.js"></script>
    <script src="/statics/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js"></script>
    <script src="/statics/datatables.net-keytable/js/dataTables.keyTable.min.js"></script>
    <script src="/statics/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="/statics/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script src="/statics/datatables.net-scroller/js/dataTables.scroller.min.js"></script>
    <script src="/statics/js/jszip.min.js"></script>
    <script src="/statics/js/build/pdfmake.min.js"></script>
    <script src="/statics/js/build/vfs_fonts.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="/statics/js/custom.min.js"></script>
</form>
</body>
</html>
